const App = getApp();

Page({
    data: {
        weburl:''
    },
    onLoad: function(n) {
        console.log(n);
           // 设置navbar标题、颜色
     App.setNavigationBar();
        var o = this;
        n.url ? o.setData({
            weburl: n.url
        }) :  wx.showModal({
            title: '提示',
            content: '当前页面暂无内容'
          })
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});